<div class="field">
        <div class="label">
                <label for="reportingto">Reporting To:</label>
        </div>
        <div class="input">
                <?php
                // if($usergroup = 1) {
                //         $usergroup = 2;
                // }
                $getUser	= $this->musers->getUserReportingTo($usergroup);
                echo '<select name="reportingto" id="reportingto">';
                foreach($getUser as $r){
                        $SELECTED = $r->user_id==$reportingto?"SELECTED":"";
                        echo'<option value="'. $r->user_id .'" '. $SELECTED .'>'. $r->user_name .'</option>';
                }
                echo'</select>';
                ?>
        </div>
</div>